<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page isELIgnored="false"%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
     
    <link rel="stylesheet" href="${pageContext.request.contextPath}/admin/css/pintuer.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/admin/css/admin.css">
    <script src="${pageContext.request.contextPath}/admin/js/jquery.js"></script>
    <script src="${pageContext.request.contextPath}/admin/js/pintuer.js"></script>  
    
</head>
<body>
<div class="panel admin-panel">
  <div class="panel-head"><strong class="icon-reorder"> 二维字典列表</strong></div>
  <div class="padding border-bottom">
      <ul class="search" style="padding-left:10px;">
         <li> <a class="button border-yellow" href="${pageContext.request.contextPath}/twoLevelDictionary/add"><span class="icon-plus-square-o"></span> 添加字典</a></li>
      <!--
        <li>字典类型
          <select name="s_ishome" class="input" onchange="changesearch()" style="width:120px; line-height:17px; display:inline-block">
            <option value="">选择</option>
            <option value="0">启用</option>
            <option value="1">禁用</option>
          </select>
        <li> 
         --><!--
          &nbsp;&nbsp;
          	推荐
          <select name="s_isvouch" class="input" onchange="changesearch()"  style="width:60px; line-height:17px;display:inline-block">
            <option value="">选择</option>
            <option value="1">是</option>
            <option value="0">否</option>
          </select>
          &nbsp;&nbsp;
          置顶
          <select name="s_istop" class="input" onchange="changesearch()"  style="width:60px; line-height:17px;display:inline-block">
            <option value="">选择</option>
            <option value="1">是</option>
            <option value="0">否</option>
          </select>
        --></li>
        <!--<if condition="$iscid eq 1">
          <li>
            <select name="cid" class="input" style="width:200px; line-height:17px;" onchange="changesearch()">
              <option value="">请选择分类</option>
              <option value="">产品分类</option>
              <option value="">产品分类</option>
              <option value="">产品分类</option>
              <option value="">产品分类</option>
            </select>
          </li>
       </if>
        -->
          <input type="text" placeholder="字典名称" name="dictName" class="input" style="width:160px; line-height:17px;display:inline-block" />
          <input type="text" placeholder="字典编码" name="dictCode" class="input" style="width:160px; line-height:17px;display:inline-block" />
          <input type="text" placeholder="字典类型" name="dictType" class="input" style="width:160px; line-height:17px;display:inline-block" />
          <a href="javascript:void(0)" class="button border-main icon-search" onclick="changesearch()" > 搜索</a></li>
      </ul>
    </div>
  <table class="table table-hover text-center">
    <tr>
      <th width="120">主键ID</th>     
      <th width="120">字典编码</th>  
      <th width="120">字典名称</th>  
      <th width="120">字典类型</th> 
      <th width="60">一维字典</th>  
      <th width="60">顺序号</th>     
      <th width="120">操作</th>
    </tr>
    <tr>
      <td>17</td>  
      <td>PERSON</td>      
      <td>公司简介</td>  
      <td>1</td>    
      <td>3</td>
            <td>3</td>      
      <td>
      <div class="button-group">
      <a type="button" class="button border-main" href="#"><span class="icon-edit"></span>修改</a>
       <a class="button border-red" href="javascript:void(0)" onclick="return del(17)"><span class="icon-trash-o"></span> 删除</a>
      </div>
      </td>
    </tr> 
    <tr>
      <td>17</td> 
      <td>PERSON</td>      
      <td>新闻资讯</td>  
            <td>1</td>    
      <td>2</td> 
            <td>3</td>      
      <td>
      <div class="button-group">
      <a type="button" class="button border-main" href="#"><span class="icon-edit"></span>修改</a>
       <a class="button border-red" href="javascript:void(0)" onclick="return del(17)"><span class="icon-trash-o"></span> 删除</a>
      </div>
      </td>
    </tr>  
    <tr>
      <td>17</td>  
      <td>PERSON</td>      
      <td>联系我们</td>  
      <td>1</td> 
            <td>1</td>
                  <td>3</td>      
      <td>
      <div class="button-group">
      <a type="button" class="button border-main" href="#"><span class="icon-edit"></span>修改</a>
       <a class="button border-red" href="javascript:void(0)" onclick="return del(17)"><span class="icon-trash-o"></span> 删除</a>
      </div>
      </td>
    </tr>   
    
  </table>
</div>
<script>
function del(id){
	if(confirm("您确定要删除吗?")){
		
	}
}
</script>
</body></html>